package com.mab.apipassenger.remote;

import com.msb.internalcommon.dto.ResponseResult;
import com.msb.internalcommon.request.OrderRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Auther: jiudianliu
 * @Date: 2023/7/17 - 07 - 17 - 14:58
 * @Description: com.mab.apipassenger.remote
 * @version: 1.0
 */
@FeignClient("service-order")
public interface ServiceOrderClient {

    @RequestMapping(method = RequestMethod.POST , value = "/order/add")
    public ResponseResult add(@RequestBody OrderRequest orderRequest);
}
